// page/component/loading/loading.js
const app = getApp();
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    hiddenLoading: {
      type: Boolean
    },
    windowHeight:{
      type: Number
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    animationData:''
  },

  // lifetimes: {
  //   attached() {
  //     const that = this;
  //     let animation = wx.createAnimation({
  //       duration: 400,
  //       timingFunction: "ease-in-out",
  //       delay: 0,
  //       transformOrigin: "50% 50%",
  //     })
  //     let animationS = wx.createAnimation({
  //       duration: 10,
  //       timingFunction: "ease-in-out",
  //       delay: 0,
  //       transformOrigin: "50% 50%",
  //     })
  //     animation.opacity(0).backgroundColor('rgba(255,255,255,0)').step();
  //     animationS.opacity(1).step();
  //     that.setData({
  //       animationData: animation.export(),
  //       animationDataS: animationS.export()
  //     })

  //   },
  // },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})
